var testConfig = require('../testConfig');
function TestProject() {
  this.init = function () {
    var arr = [];
    arr.push(
      this.step1,
      this.step2,
      this.step3,
      this.step4,
      this.step5,
      this.step6,
      this.step7
    );
    testConfig.testFun.runStep(arr);
  };
  this.step1 = function () {
    $("#aside-nav").find("div.coords").eq(6).find("a")[0].click();
  };
  this.step2 = function () {
    testConfig.testFun.ai().find('.new_divide')[0].click();
  };
  this.step3 = function () {
    testConfig.testFun.bi().find("#team_class_selector_className").val('自动化测试分组十');
  };
  this.step4 = function () {
    testConfig.testFun.bi().find(".rowcon .padtop div input").click();
  };
  this.step5 = function () {
    testConfig.testFun.bi().find("#tipYes").click();
  };
  this.step6 = function () {
    testConfig.testFun.ai().find("#team_class_selector_className").val('自动化测试分组十');
  };
  this.step7 = function () {
    testConfig.testFun.ai().find("#query").click();
  }
}
function testStart() {
  var test = new TestProject();
  test.init();
}
exports.start = testStart;
